package com.xbongbong.paas.model;

import com.xbongbong.paas.domain.entity.AttrTrashEntity;
import com.xbongbong.paas.toolbox.wrap.IModel;

import java.util.List;
import java.util.Map;

/**
 *
 * @author 魏荣杰
 * @date 2021/3/2 15:09
 * @since
 * @version
 */
public interface AttrTrashModel extends IModel<AttrTrashEntity> {

    @Override
    Integer insert(AttrTrashEntity entity);

    @Override
    Integer update(AttrTrashEntity entity);

    Integer deleteByKey(Long key, String corpid);

    List<AttrTrashEntity> insertBatch(List<AttrTrashEntity> attrTrashEntityList);

    List<AttrTrashEntity> findEntitys(Map<String, Object> param);

    List<AttrTrashEntity> updateBatch(List<AttrTrashEntity> attrTrashEntityList, String corpid);

    Integer deleteBatch(List<Long> idIn, String corpid);

    AttrTrashEntity getByKey(Long key, String corpid);

    @Override
    Integer getEntitysCount(Map<String, Object> param);

    @Override
    List findEntitysWithoutSub(Map<String, Object> param);
}
